﻿using System;
using System.Collections.Generic;
using System.Linq;
using NotifiableLinqTests.FrameWork;
using NUnit.Framework;

namespace OtherFrameworksTests
{
	[TestFixture]
	public class Microsoft_reactive_extensions : ItemNotificationTestsBase
	{
		[Test]
		public void Test()
		{
			ExecuteTestCore();
		}

		public override object QuerySut(IEnumerable<IItem> source)
		{
			return source.ToObservable().Where(x => x.Width > 5).ToEnumerable();
		}

		public override object QueryActual(IEnumerable<IItem> source)
		{
			return source.Where(x => x.Width > 5);
		}
	}
}
